#ifndef CHOOSEPAPER_H
#define CHOOSEPAPER_H

#include <QDialog>
#include <QtSql>
#include <QSqlQuery>

namespace Ui {
    class ChoosePaper;
}

class ChoosePaper : public QDialog
{
    Q_OBJECT

public:
    explicit ChoosePaper(QWidget *parent = 0);
    ~ChoosePaper();

private:
    Ui::ChoosePaper *ui;
    QSqlQueryModel *paper_model;
    int m_row;

private slots:
    void accept ();

};

#endif // CHOOSEPAPER_H
